package com.huang.A02_constructor;

public class TeacherOperator {
    Teacher teacher;

    public TeacherOperator(Teacher teacher) {
        this.teacher = teacher;
    }

    public void printAge(){
        System.out.println(teacher.getAge());
    }
}